// File GameWorld.h
//
// Purpose: Contains all entities for the game
//
// Author : Bryson King
// Date : 21 March 2013
// --------------------------------------------------------------
#ifndef GAMEWORLD_H
#define GAMEWORLD_H

#include "Terrorist.h"
#include "Player.h"
#include "GenericPerson.h"
#include "IPerson.h"
#include "EntityManager.h"

class CGameWorld
{
public:
	CGameWorld();
	~CGameWorld();
	void AddEntityToGameWorld(CBaseGameEntity* entity);
	void RemoveEntityFromGameWorld(CBaseGameEntity* entity);
	void UpdateGameWorld();

private:
	struct entity_node
	{
		entity_node* next;
		CBaseGameEntity* entity;
	};

	entity_node* m_pHeadOfList;
	entity_node* m_pTailOfList;
};

#endif